package com.hgshop.yudongyang.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;

import com.hgshop.yudongyang.domain.Spu;
import com.hgshop.yudongyang.domain.SpuVo;

public interface SpuMapper {

	
	List<Spu> list(SpuVo vo);

	void dels(Integer[] ids);

	@Delete("delete from hg_spu where id =#{id}")
	void del(Integer id);

	void add(Spu spu);

	Spu getOne(Integer id);

	void update(Spu spu);

	List<Spu> findSpuByCatId(Integer catId);
}
